/**
 * 
 */
package com.pcbly.web.business.chart;

import java.util.List;

import com.pcbly.web.bean.chart.ChartStyleLineBean;
import com.pcbly.web.business.BaseServiceImp;
import com.pcbly.web.persistence.chart.ChartStyleLineDao;

/**
 * @author Administrator
 * @date 2009-7-13
 * @copyright lightsoft
 */
public class ChartStyleLineServiceImp extends
		BaseServiceImp<ChartStyleLineBean> implements ChartStyleLineService {

	public ChartStyleLineServiceImp(){
		super();
	}
	protected ChartStyleLineDao chartStyleLineDao;
	
	
	public void setChartStyleLineDao(ChartStyleLineDao chartStyleLineDao) {
		this.chartStyleLineDao = chartStyleLineDao;
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

	@Override
	public int deleteChartStyleLineBean(String id) throws Exception {
		// TODO Auto-generated method stub
		return chartStyleLineDao.deleteChartStyleLineBean(id);
	}

	@Override
	public int insertChartStyleLineBean(ChartStyleLineBean bean)
			throws Exception {
		// TODO Auto-generated method stub
		return chartStyleLineDao.insertChartStyleLineBean(bean);
	}

	@Override
	public ChartStyleLineBean queryChartStyleLineBeanById(String id)
			throws Exception {
		// TODO Auto-generated method stub
		return chartStyleLineDao.queryChartStyleLineBeanById(id);
	}

	@Override
	public List<ChartStyleLineBean> queryList() throws Exception {
		// TODO Auto-generated method stub
		return chartStyleLineDao.queryList();
	}

	@Override
	public int updateChartStyleLineBean(ChartStyleLineBean bean)
			throws Exception {
		// TODO Auto-generated method stub
		return chartStyleLineDao.updateChartStyleLineBean(bean);
	}


}
